package org.bugstack.infrastructure.dao;

import org.apache.ibatis.annotations.Mapper;
import org.bugstack.infrastructure.dao.po.GroupBuyActivity;

import java.util.List;
/**
 * @author
 * @description 拼团活动Dao
 * @create 2025-04-0310:10
 */
@Mapper
public interface IGroupBuyActivityDao {
    // 查询拼团活动列表
    List<GroupBuyActivity> queryGroupBuyActivityList();
    // 查询有效拼团活动
    GroupBuyActivity queryValidGroupBuyActivity(GroupBuyActivity groupBuyActivityReq);


    GroupBuyActivity queryValidGroupBuyActivityId(Long activityId);

    GroupBuyActivity queryGroupBuyActivityByActivityId(Long activityId);
}
